<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }"></c:set>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>平台管理-码表类型管理</title>
    <link href="${path}/css/style.css" rel="stylesheet" type="text/css">
    <link href="${path}/common/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="${path}/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="${path}/js/common.js" type="text/javascript"></script>
    <script src="${path}/common/plugins/handlebars.js" type="text/javascript"></script>
    <script src="${path}/common/plugins/bootstrap/js/bootstrap.js"></script>
    <script src="${path}/common/plugins/layer/layer.js"></script>
    <script src="lookupType_management.js"></script>
    <style>
        html,body {margin:0;padding:0;}
        body{background:#f1f1f1;height:100%;}
    </style>
</head>
<body>
<div class="content">
    <div class="content_detail">
        <div class="control-title">
            <i class="user_manage content_current"></i><span>码表类型管理</span>
            <div class="spanbtn">
                <button class="press_btn1 add_btn"><i class="add top_current"></i>添加</button>
            </div>
        </div>

        <div class="content_table">
            <table class="table table-striped table-bordered table-hover table-ellipsis details">
                <thead>
                <tr>
                    <%--<th class="checkwidth"><input type="checkbox" class="checkAll" title="全选"/></th>--%>
                    <th>码表类型</th>
                    <th>码表类型描述</th>
                    <th  class="operation">操作</th>
                </tr>
                </thead>
                 <tbody id="pageTable">
				        <c:forEach items="${data.pageList}" var="item" >
                            <tr url="${path}/sys/lookup_management/initlookupcde.do?lookupType=${item.lookupType}">
                                <%--<td class="checkNot"><input type="checkbox" class="checkinput" name="checkradio"/></td>--%>
                                <td style="cursor:pointer" class="viewAlarm" title="${item.lookupType}">${item.lookupType}</td>
                                <td style="cursor:pointer" class="viewAlarm" title="${item.lookupDesc}">${item.lookupDesc}</td>
                                <td><i class="Edit content_current edit_btn" title="编辑"></i></td>
                            </tr>
					    </c:forEach>
                  </tbody>
                            <!-- 
                <tbody>
              
                <tr>
                    <td class="checkNot"><input type="checkbox" class="checkinput" name="checkradio"/></td>
                    <td>215541</td>
                    <td>admin3</td>
                    <td>admin3</td>
                    <td>男</td>
                    <td>北京</td>
                    <td>有效</td>
                    <td><i class="Edit content_current" title="编辑"></i><i class="Del content_current" title="删除"></i></td>
                </tr>
                </tbody>
                 -->
            </table>
            <!-- 引入-->
            <%@ include file="/common/jsp/footer_pager.jsp"%>
        </div>
    </div>
</div>
</body>
</html>
<!--Handlebars.js模版-->
<!--Handlebars.js模版放在script标签中，保留了html原有层次结构,模版中要写一些操作语句-->
<!--id可以用来唯一确定一个模版,type是模版固定的写法-->
<script id="lookupType-template" type="text/x-handlebars-template">
<body>
    <div class="content_condition oneContent">
        <div class="content_group">
            <div class="span4">
                <label class="control-label">码表类型:</label>
                <div class="controls">
                    <input id="lookupType" type="text" value="{{name}}"/>
                    <span class="redbtn">*</span>
                </div>
            </div>
        </div>
        <div class="last_group">
            <div class="span4">
                <label class="control-label">码表类型描述:</label>
                <div class="controls">
                    <input id="lookupDesc" type="text" value="{{desc}}"/>
                    <span class="redbtn">*</span>
                </div>
            </div>
        </div>

    </div>
 </body>
    <div class="btn_bottom">
        <div class="spanbtn">
            <label id="tipMsg" style="color: red;"></label>
            <button id="saveBtn" class="press_btn1 Save"><i class="save top_current"></i>保存</button>
            <button class="press_btn2 resetBtn"><i class="reset top_current"></i>重置</button>
            <%--<button class="press_btn3 Close" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name));"><i class="del top_current"></i>关闭</button>--%>
            <button class="press_btn3 Close" onclick="layer.closeAll()"><i class="del top_current"></i>关闭</button>
        </div>
    </div>
</script>
